package com.hzeport.bgs22emduty.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.masa.common.core.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDate;


@Data
@EqualsAndHashCode(callSuper = true)
@TableName("EMDU_SCREEN_DUTY_EXPERIENCE")
@ApiModel(value = "大屏-值班经验表")
public class ScreenDutyExperience extends BaseEntity {

    private static final long serialVersionUID = 1L;


    @ApiModelProperty(value = "排序")
    @TableField(value = "SORT")
    @JsonProperty(value = "sort")
    private Long sort;

    @ApiModelProperty(value = "展示标题")
    @TableField(value = "TITLE")
    @JsonProperty(value = "title")
    private String title;

    @ApiModelProperty(value = "创建人")
    @TableField(value = "CREATE_PERSON_NO")
    @JsonProperty(value = "createPerson")
    private String createPerson;

    @ApiModelProperty(value = "数据状态")
    @TableField(value = "STATUS")
    @JsonProperty(value = "status")
    private String status;

    @ApiModelProperty(value = "发布状态：1. 已发布；0. 未发布")
    @TableField(value = "SUBMIT_STATUS")
    @JsonProperty(value = "submitStatus")
    private String submitStatus;

    @ApiModelProperty(value = "主体内容")
    @TableField(value = "MAIN_BODY")
    @JsonProperty(value = "mainBody")
    private String mainBody;

    @ApiModelProperty(value = "关区GUID，源自H4A")
    @TableField(value = "CUSTOM_ID")
    @JsonProperty(value = "customId")
    private String customId;

    @ApiModelProperty(value = "关区中文名称")
    @TableField(value = "CUSTOM_NAME")
    @JsonProperty(value = "customName")
    private String customName;

    @ApiModelProperty(value = "值班经验发布时间")
    @TableField(value = "EXPERIENCE_TIME")
    @JsonProperty(value = "experienceTime")
    private LocalDate experienceTime;

    @ApiModelProperty(value = "URL")
    @TableField(value = "URL")
    @JsonProperty(value = "url")
    private String url;

    @ApiModelProperty(value = "部门id")
    @TableField(value = "SEND_DEPT_ID")
    @JsonProperty(value = "sendDeptID")
    private String sendDeptID;

    @ApiModelProperty(value = "部门id")
    @TableField(value = "SEND_CUSTOM_ID")
    @JsonProperty(value = "sendCustomID")
    private String sendCustomID;

    @ApiModelProperty(value = "部门名")
    @TableField(value = "SEND_DEPT_NAME")
    @JsonProperty(value = "sendDeptName")
    private String sendDeptName;

    @ApiModelProperty(value = "部门名")
    @TableField(value = "HB_ID")
    @JsonProperty(value = "hbId")
    private String hbId;

    @ApiModelProperty(value = "部门名")
    @TableField(value = "HB_SEND_TIME")
    @JsonProperty(value = "hbSendTime")
    private String hbSendTime;

    // todo: 什么的提取地址？
    @ApiModelProperty(value = "提取地址")
    @TableField(value = "EXTRACT_URL")
    @JsonProperty(value = "extractUrl")
    private String extractUrl;

}
